package com.qcby.service;

import com.qcby.model.Change;
import com.qcby.model.Sell;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: Tom
 * @Date: 2021/07/22/15:52
 * @Description:
 */
public interface SaleService {
   void updataByPriceAc(@Param("id")Integer id,@Param("price") Integer price,@Param("currentPrice") Integer currentPrice);

  void insert(Sell sell);

  Integer selectPriceById(Integer id);

  Integer selectUserIdById(Integer id);

  Integer selectEquipIdById(Integer id);

  void updataByUserId(Change swap);
}
